package com.example.yjhteam.client;


import com.example.common.vo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "yjh-match")
@RequestMapping("/yjhmatch/matches")
public interface matchClient {
    @RequestMapping("selectMatchById")
    Result selectMatchById(@RequestParam("mid") String mid);

    @RequestMapping("selectMatchByName")
    public  Result selectMatchByName(@RequestParam("teamName") String teamName);


}
